* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #4a90e2;
}

.nav-item.active {
    color: #4a90e2;
}

.contact-btn {
    background: #e8c4b8;
    padding: 8px 20px;
    border-radius: 20px;
    color: #fff;
}

.contact-btn:hover {
    background: #d6b3a7;
    color: #fff;
}

.login-btn {
    background: #4a90e2;
    padding: 8px 20px;
    border-radius: 20px;
    color: #fff;
    margin-left: 15px;
}

.login-btn:hover {
    background: #357abd;
    color: #fff;
}

.carousel {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4ff 100%);
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    background-image: url('data:image/svg+xml,\
        <svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">\
            <path d="M20 20 L80 20 L80 80 L20 80 Z" stroke="%234a90e2" stroke-width="1" fill="none" opacity="0.05"/>\
            <circle cx="20" cy="20" r="4" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="80" cy="20" r="4" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="80" cy="80" r="4" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="20" cy="80" r="4" fill="%234a90e2" opacity="0.1"/>\
        </svg>');
    background-size: 100px 100px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 60px;
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.slide-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #4a90e2;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.title {
    color: #333;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.description {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #4a90e2;
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .carousel {
        height: 500px;
    }

    .title {
        font-size: 40px;
    }

    .description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }

    .slide-image {
        display: none;
    }

    .carousel-slide {
        padding: 0 30px;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 20px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.features {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,\
        <svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">\
            <path d="M10 10 L90 10 L90 90 L10 90 Z" stroke="%234a90e2" stroke-width="1" fill="none" opacity="0.05" stroke-dasharray="8,4"/>\
            <path d="M30 30 L70 30 L70 70 L30 70 Z" stroke="%234a90e2" stroke-width="1" fill="none" opacity="0.03"/>\
            <circle cx="10" cy="10" r="3" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="90" cy="10" r="3" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="90" cy="90" r="3" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="10" cy="90" r="3" fill="%234a90e2" opacity="0.1"/>\
            <circle cx="50" cy="50" r="25" stroke="%234a90e2" stroke-width="1" fill="none" opacity="0.05"/>\
            <path d="M20 50 L80 50" stroke="%234a90e2" stroke-width="1" opacity="0.03"/>\
            <path d="M50 20 L50 80" stroke="%234a90e2" stroke-width="1" opacity="0.03"/>\
        </svg>');
    background-size: 100px 100px;
    animation: featuresBgMove 25s linear infinite;
}

@keyframes featuresBgMove {
    0% {
        background-position: 0 0;
        transform: rotate(0deg);
    }

    100% {
        background-position: 100px 100px;
        transform: rotate(360deg);
    }
}

.feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
}

.feature-icon i {
    font-size: 48px;
    color: #4a90e2;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.about-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.about-btn:hover {
    background: #357abd;
}

.about-image {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 0 20px;
    }

    .title {
        font-size: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #4a90e2, #357abd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.1), rgba(53, 122, 189, 0.1));
    filter: blur(100px);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

/* 添加加载状态样式 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-message {
    text-align: center;
    color: #dc3545;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 修改统计部分样式确保相对定位 */
.stats .container {
    position: relative;
    padding: 40px 20px;
}